package com.turtle.security.common.exception;

/**
 * 自定义异常类
 *
 * @author turtle
 * date: 2020-05-11
 */
public class CustomException extends RuntimeException {

    private String message;

    public CustomException(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
